<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ResultDTO</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class ResultDTO implements Serializable{

    private boolean success; //
    private OhRegister data; //
    private int code; //
    private String message; //

    public boolean getSuccess(){
        return success;
    }

    public void setSuccess(boolean success){
        this.success = success;
    }

    public OhRegister getData(){
        return data;
    }

    public void setData(OhRegister data){
        this.data = data;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMessage(){
        return message;
    }

    public void setMessage(String message){
        this.message = message;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class OhRegister implements Serializable{

    private long id; //id
    private long companyId; //公司id
    private long eqFacId; //设备名称
    private String oher; //检修人id
    private long ohTypeId; //检修类型
    private String ohCont; //检修内容
    private String protectStep; //防护措施
    private String ohCost; //检修费用
    private String ohTime; //检修开始时间
    private String ohResult; //检修结果
    private String ohPhoto; //检修照片
    private String ohSituation; //检修情况

    public long getId(){
        return id;
    }

    public void setId(long id){
        this.id = id;
    }

    public long getCompanyId(){
        return companyId;
    }

    public void setCompanyId(long companyId){
        this.companyId = companyId;
    }

    public long getEqFacId(){
        return eqFacId;
    }

    public void setEqFacId(long eqFacId){
        this.eqFacId = eqFacId;
    }

    public String getOher(){
        return oher;
    }

    public void setOher(String oher){
        this.oher = oher;
    }

    public long getOhTypeId(){
        return ohTypeId;
    }

    public void setOhTypeId(long ohTypeId){
        this.ohTypeId = ohTypeId;
    }

    public String getOhCont(){
        return ohCont;
    }

    public void setOhCont(String ohCont){
        this.ohCont = ohCont;
    }

    public String getProtectStep(){
        return protectStep;
    }

    public void setProtectStep(String protectStep){
        this.protectStep = protectStep;
    }

    public String getOhCost(){
        return ohCost;
    }

    public void setOhCost(String ohCost){
        this.ohCost = ohCost;
    }

    public String getOhTime(){
        return ohTime;
    }

    public void setOhTime(String ohTime){
        this.ohTime = ohTime;
    }

    public String getOhResult(){
        return ohResult;
    }

    public void setOhResult(String ohResult){
        this.ohResult = ohResult;
    }

    public String getOhPhoto(){
        return ohPhoto;
    }

    public void setOhPhoto(String ohPhoto){
        this.ohPhoto = ohPhoto;
    }

    public String getOhSituation(){
        return ohSituation;
    }

    public void setOhSituation(String ohSituation){
        this.ohSituation = ohSituation;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>